import { createSlice } from '@reduxjs/toolkit';

const layoutSlice = createSlice({
  name: 'layout',
  initialState: {
    isLoadingResourceCompleted: false,
  },
  reducers: {
    setIsLoadingResourceCompleted(state, { payload }) {
      state.isLoadingResourceCompleted = payload;
    },
  },
});

export default layoutSlice;
